FROM ubuntu:20.04
LABEL description="A demo Dockerfile for build Hugo."
RUN apt-get update \
    && apt-get install -y hugo \
    && rm -rf /var/lib/apt/lists/*

RUN hugo new site docs
WORKDIR /docs

RUN git clone https://github.com/dillonzq/LoveIt.git themes/LoveIt

EXPOSE 1313
ENTRYPOINT hugo server